package event

type IEvent interface {
	GetEventID() Event_ID
	GetEventData() interface{}
}

type Event struct {
	eventId Event_ID
	data    interface{}
}

func NewEvent(eventId Event_ID, data interface{}) *Event {
	e := new(Event)
	e.eventId = eventId
	e.data = data
	return e
}

func (e *Event) GetEventID() Event_ID {
	return e.eventId
}

func (e *Event) GetEventData() interface{} {
	return e.data
}
